package cn.itsource.blog.service;


import cn.itsource.blog.domain.Article;
import cn.itsource.blog.domain.ArticleType;
import cn.itsource.blog.query.ArticleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IArticleService {
    void add(Article article);

    void delete(Long id);

    Article get(Long id);

    List<Article> getAll();

    void delPatch(Long[] ids);

    PageInfo<Article> pageInfo(ArticleQuery articleQuery);

    void updata(Article article);



}
